package com.example.basic.web.enums;

/**
 * 终端状态
 */
public enum DeviceStatusEnum {
    standby("1", "待机"),
    offline("2", "离线"),
    work("3", "工作中"),
    cache("4", "缓存中");

    // 类型
    private final String type;
    // 描述
    private final String desc;

    DeviceStatusEnum(final String type, final String desc) {
        this.type = type;
        this.desc = desc;
    }

    public String getType() {
        return type;
    }

    public String getDesc() {
        return desc;
    }
}